package com.cwrl.spider.common.mq.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * mq配置
 */
@Configuration
@ConfigurationProperties(prefix = "spring.spider.mq")
@Data
public class SpiderMqConfig {

    /**
     * 支持 redis rabbit
     */
    private String type;

    /**
     * 不配置 默认使用 spring - redis
     */

    private RabbitMqConfig rabbit;

    public static class RabbitMqConfig {

    }
}
